home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / tpref.exe / TPR1.TXT < prev    next >
Text File  |  1992-12-15  |  30KB  |  977 lines

  1.  
  2.                           The Turbo Pascal Reference
  3.                                       by
  4.                                   Ed Mitchell
  5.  
  6.                                 A Freeware Book
  7.  
  8. First edition, Nov 1992. (C) Copyright 1992 by Ed Mitchell, author of the
  9. Borland Pascal Developer's Guide, Que Corporation, 1992.  
  10.  
  11.  
  12.  
  13. Introduction
  14.  
  15.      Welcome to the electronic edition of the Turbo Pascal Reference.  This
  16. reference provides approximately 400 single-spaced pages of reference
  17. information about the Turbo Pascal IDE, the Turbo Pascal language, all of the
  18. System and Graph libraries, plus a comprehensive 150+ page reference to Turbo
  19. Vision.
  20.  
  21.      This book is intended to be used as a reference - not as a tutorial.  If
  22. you have no programming experience whatsoever, you should consult a Turbo
  23. Pascal programming tutorial first.  If you have a minor amount of programming
  24. experience, you will find a complete discussion of Turbo Pascal in Chapter 3,
  25. "The Turbo Pascal Language".
  26.  
  27.      The Turbo Vision Reference section, Chapters 6 through 10, is unique in
  28. that it provides many examples and highlights the most commonly used features. 
  29. If you have programmed in Turbo Vision you already know that you do not need to
  30. use all of the methods described for each object type.  Unfortunately, it is
  31. difficult, using Borland's documentation, to discern those that are needed and
  32. those that you can safely ignore.  This means that learning Turbo Vision using
  33. the Borland documentation is much more difficult than it needs to be.  And that
  34. is why you will want to use the reference information I've provided in this
  35. freeware book.  
  36.  
  37.      If you have never programmed in Turbo Vision, I recommend that you consult
  38. Chapter 11, "Turbo Vision Tutorial", continuing though Chapter 16, of the
  39. Borland Pascal Developer's Guide, published by Que Books.
  40.  
  41.      This Turbo Pascal Reference, a 400 page book, is available to you, for
  42. free.  Subject to the copyright and distribution rights described below, you
  43. are free to copy this book and give it to others.
  44.  
  45.  
  46.  
  47. Why am I giving this book away?
  48.  
  49.      When I wrote Borland Pascal Developer's Guide (Que Books, 1992), my
  50. publisher asked for a comprehensive book that would cover every feature of
  51. Turbo Pascal.  Obviously, such a volume would take a lot more than could fit
  52. within the approximately 1,000 page limitation of a printed book.
  53.  
  54.      Because there is not room in a single volume to hold all of this material,
  55. I am giving away the extra 400 pages that it takes to flesh out the entire
  56. topic.  I want you, my reader, to have access to this text, to help you in your
  57. development of Pascal applications.  There is a great deal of valuable insight,
  58. tutorials and sample code within this text and I very much want these
  59. techniques to get into your hands and to be used by you.
  60.  
  61.      Please note that while the material presented here complements the Borland
  62. Pascal Developer's Guide, this electronic book is not in any way affiliated
  63. with the Que Corporation.
  64.  
  65.      This electronic book is completely free.  However, if you find this
  66. information of value to you, I would greatly appreciate your purchase of
  67. Borland Pascal Developer's Guide, published by Que Corporation, 1992.  (Or,
  68. alternately, my Secrets of the Borland C++ Masters (Sams Books, 1992) or Using
  69. Microsoft C/C++ (Que, 1992)).  
  70.  
  71.      This freeware book does not duplicate the material in the Borland Pascal
  72. Developer's Guide.  The Borland Pascal Developer's Guide and the Turbo Pascal
  73. Reference are completely independent of one another - yet strongly complement
  74. each other - so it is to your advantage to have access to both.  If your book
  75. store does not stock Borland Pascal Developer's Guide, you can ask your
  76. retailer to order them directly from Que Corporation, or call Que at
  77. 317-573-2500 or 1-800-428-5331.
  78.  
  79.      Because the material in the Turbo Pascal Reference was originally intended
  80. as extra chapters in the Borland Pascal Developer's Guide, you will find cross
  81. references to the Developer's Guide.  For example, in the reference section on
  82. the Turbo Vision TCollection object, I will point you to chapter 14,
  83. "Collections" in the Borland Pascal Developer's Guide for additional examples.
  84.  
  85.  
  86.  
  87. About the Author
  88.  
  89.      I am the author of Borland Pascal Developer's Guide (Que Books, 1992),
  90. coauthor of Using Microsoft C/C++ 7.0 (Que Books, 1992), Secrets of the Borland
  91. C++ Masters (Sams Books, 1992), and author of, under a pseudonym, Software
  92. Construction Set for the IBM PC (Hayden Books, 1984).  
  93.  
  94.      As a past employee of Software Publishing Corporation, I was the project
  95. manager of the best selling PFS First Choice integrated software product, and
  96. coauthor of the original PFS Write which was one of the first word processors
  97. for the IBM PC (and was also a best seller).  Both PFS Write and PFS First
  98. Choice were written in Pascal.  In the case of First Choice, the source ran to
  99. over 125,000 lines of Pascal code.  I've been writing Pascal code since my
  100. first use of an LSI-II Terak Microcomputer in 1978.
  101.  
  102.  
  103.  
  104. How to Contact the Author
  105.  
  106.      You can contact me via electronic mail to Compuserve 73317,2513 or via the
  107. Internet to 73317.2513@compuserve.com.  I promise to read all mail that I
  108. receive; realistically I cannot promise to respond to all enquiries.  You may
  109. also reach me at EdMitch@aol.com.
  110.  
  111.  
  112. Copyright  Notice
  113.  
  114.      This text is copyrighted, which means that I retain ownership and control
  115. over the right to make copies of this electronic book.  However, I give you
  116. permission to copy this electronic text and give it away, free, to others,
  117. subject to the following rules and restrictions:
  118.  
  119. 1.  This electronic book may only be copied in its entirety, unless separate
  120. permission is received from the author.
  121.  
  122. 2.  Each copy of this material, whether electronic or printed, must not be
  123. modified by you.  In particular, each copy must include this introduction, my
  124. copyright statement and the reference to Borland Pascal Developer's Guide (Que,
  125. 1992).
  126.  
  127. 3.  You may print out copies of this electronic text for your own use.
  128.  
  129. 4.  Teachers and instructors are encouraged to copy, or to print and use this
  130. material in their classroom; however, if material is extracted for use in a
  131. classroom setting, the extracted material must bear the following notice:
  132.  
  133.      From Turbo Pascal Reference, (C) Copyright 1992 by Ed
  134.      Mitchell, author of Borland Pascal Developer's Guide, Que
  135.      Corporation, 1992.
  136.  
  137. 5.  Bona fide shareware distributors may charge a "nominal" fee for the costs
  138. of duplication and distribution.  By "nominal", I mean a low fee such as $5.00
  139. per disk.
  140.  
  141. 6.  You may not sell copies of the Turbo Pascal Reference in electronic,
  142. printed or any other form, for profit or not-for profit.
  143.  
  144. 7.  You may not give this material away or distribute this freeware text as a
  145. promotion for any other product without the express written permission of Ed
  146. Mitchell.
  147.  
  148. 8.  Turbo Pascal, Turbo Pascal for Windows, and Borland Pascal are trademarks
  149. of Borland International, Inc.
  150.  
  151.  
  152.  
  153. Disclaimer:  There are No Warranties
  154.  
  155.      The material in this electronic book has not been professionally edited. 
  156. In particular, Turbo Pascal Reference is not produced by nor sanctioned by the
  157. Que Corporation.  Que Corporation has no affiliation with nor responsibility
  158. for the content of Turbo Pascal Reference.  Ed Mitchell is solely responsible
  159. for the content of Turbo Pascal Reference.
  160.  
  161.      This means that the text has NOT been reviewed by one or more copy editors
  162. and a technical editor, which is typical of the material that you read in a
  163. published book.  As such, you may find typographical or grammatical errors. 
  164. There may also be technical errors of the type that crop up during any big
  165. project as large as this one.  If you find a problem, please notify me
  166. directly, via electronic mail, and I will fix the problem for a subsequent
  167. release of this electronic book. 
  168.  
  169.      The text and sample programs are intended solely for educational purposes.
  170. While the programs are believed to reasona